//把n个人的分数从小到大排序
#include<stdio.h>
int main()
{
    int book[101], i, j, n, t;
    //初始化
    for(i = 0; i <= 100; i ++)
        book[i] = 0;
    
    //循环读入n个数
    scanf("%d", &n);
    for(i = 1; i <= n; i ++)
    {
        scanf("%d", &t);
        book[t] ++;
    }

    for(i = 0; i <= 100; i ++)
        for(j = 1; j <= n; j ++)
            printf("%d", i);
    
    getchar();

    return 0;
}